package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: wenjingyuan
 * @Date: 2023/07/21/15:50
 * @Description:
 */
@Controller
@ResponseBody
public class DemoController {
    @RequestMapping("/sayhi")
    public String sayHi(){
        return "你好，spring boot";
    }
}
